﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Web.UI;

namespace com.dtn.deals.Base
{
    public class BasePage : Page
    {
        public tbl_Member CurrentUser
        {
            get
            {
                return null;
            }
            set
            {

            }
        }
        protected override void OnPreInit(EventArgs e)
        {
            base.OnPreInit(e);
            if (CurrentUser == null)
            {
                if (Session["UserName"] != null)
                {
                    CurrentUser = tbl_MemberManager.GetInfo(Session["UserName"].ToString());
                }
            }

        }
    }
}
